﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace GestionComercial.Model.Entities
{
    [Table("Marca")]
    public class Marca 
    {
        [Key]
        public Guid IdMarca { get; set; }

        public String NombreMarca { get; set; }

        public Guid IdProveedor { get; set; }

        [ForeignKey("IdProveedor")]
        public virtual Proveedor Proveedor { get; set; }

    }
}
